import React, { Component } from 'react';
import '../../styles/Indexcss/entry.scss'
import pic from  '../../assets/pic.png'
class MyEntry extends Component {
    
    state={
        list:[
            {pic,text:'护肤'},
            {pic,text:'彩妆'},
            {pic,text:'香氛'},
            {pic,text:'进口酒'},
            {pic,text:'国产酒'},
            {pic,text:'精品奢货'},
            {pic,text:'食品百货'},
            {pic,text:'母婴专区'},
            {pic,text:'直播专区'},
            {pic,text:'专卖特场'},
            
        ]
    }
    render() {
        return (
            <div className="entry">
                {
                   this.state.list.map((item,index)=>{
                      return (
                        <div className="itemlist">
                            <img src={item.pic} alt="" />
                            <div className="text">{item.text}</div>
                        </div>
                      )
                   })
                }
            </div>
        );
    }
}

export default MyEntry;